
//License Information
/*
    Copyright 2010 Jozsef Jantek

    This file is part of HunterTC.

    HunterTC is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    HunterTC is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with HunterTC.  If not, see <http://www.gnu.org/licenses/>.
*/

package huntertc;


public class Shot_Black extends Shot
{
    Shot_Black(Char_sheet schar)
    {
        name="Black Arrow";
        focus=35;
        school=4;
        cooldown=30;
        tick=5;
        tick_rate=3;
        Calc(schar);
    }
    
    @Override public void Calc(Char_sheet schar)
    {
        avg_dmg=(int)((2765+schar.getRAP()*0.1)/tick);
        bon_dmg=(schar.b_Elements?13:0)+(schar.t.SV[6].val*10)+(schar.t.SV[12].val*2);
        cooldown=30-schar.t.SV[18].val*2;
        setBase_cast(cooldown);
        setAct_cast(cooldown);
        Opt_Dmg(schar);
        setDPS(CountDPS());
        setDPM(CountDPM());
    }
}
